package com.dawn.module.hospital.controller.app.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * @description:
 * @author: cnsu-cmh
 * @time: 2024/8/14 11:36
 */
@Schema(description = "支付-付款码支付 APP - Response VO")
@Data
@ToString(callSuper = true)
public class OrderThirdQueryRespVO {


    //    @NotBlank(message = "HIS系统订单号不能为空-orderNo")
    @Schema(description = "HIS系统订单号")
    private String orderNo;

    @Schema(description = "订单号")
    private String orderNumber;

    @Schema(description = "支付订单号")
    private String payOrderId;

    @NotBlank(message = "渠道订单号")
    private String thirdOrderNo;

    @Schema(description = "总金额")
    private String amount;

    @Schema(description = "订单状态 0-订单生成，1-支付中，2-支付成功，3-支付失败，4-已撤销，5-已退款 ，6:订单关闭 ， 7-部分退款")
//    @JsonProperty(value = "orderState")
    private Integer orderState;

    @NotBlank(message = "支付类型ID")
    private String payTypeId;

    @Schema(description = "支付方式名称")
    private String payModeName;


    public OrderThirdQueryRespVO() {

    }

    public OrderThirdQueryRespVO(String orderNo, String orderNumber,String payOrderId, String thirdOrderNo, String amount, Integer orderState, String payTypeId, String payModeName) {
        this.orderNo = orderNo;
        this.orderNumber = orderNumber;
        this.payOrderId = payOrderId;
        this.thirdOrderNo = thirdOrderNo;
        this.amount = amount;
        this.orderState = orderState;
        this.payTypeId = payTypeId;
        this.payModeName = payModeName;
    }
}
